package cn.iocoder.yudao.module.water.convert.year;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.water.controller.admin.year.vo.*;
import cn.iocoder.yudao.module.water.dal.dataobject.year.ReportYearDO;

/**
 * 年报 Convert
 *
 * @author 左达成
 */
@Mapper
public interface ReportYearConvert {

    ReportYearConvert INSTANCE = Mappers.getMapper(ReportYearConvert.class);

    ReportYearDO convert(ReportYearCreateReqVO bean);

    ReportYearDO convert(ReportYearUpdateReqVO bean);

    ReportYearRespVO convert(ReportYearDO bean);

    List<ReportYearRespVO> convertList(List<ReportYearDO> list);

    PageResult<ReportYearRespVO> convertPage(PageResult<ReportYearDO> page);

    List<ReportYearExcelVO> convertList02(List<ReportYearDO> list);

}
